package com.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.reggie.entity.Orders;

public interface OrdersService extends IService<Orders> {
    /**
     * 订单提交
     */
    void submit(Orders orders);

    /**订单分页查询*/
    Page selectPage(int page, int pageSize);

    /**
     * 管理端分页订单
     * @param page
     * @param pageSize
     * @return
     */
    Page selectPageAdmin(int page, int pageSize);


}
